Package com.cisco.pt.ipc.sim.pdu.impl
Class EIGRPExternalImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
com.cisco.pt.ipc.sim.pdu.impl.EIGRPInternalImpl
com.cisco.pt.ipc.sim.pdu.impl.EIGRPExternalImpl
- All Implemented Interfaces:
IPCData,EIGRPExternal,EIGRPInternal,EIGRPTlv,Pdu,Signal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected Byteprotected IPAddressprotected intFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.EIGRPInternalImpl
bandwidth, delay, hopCount, load, mtu, network, nextHop, prefixLength, reliabilityFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
length, typeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) intintgetFieldType(String fieldName) intvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetAdminTag(int adminTag) voidsetExternalMetric(int externalMetric) voidsetExternalProtocolType(Byte externalProtocolType) voidsetOriginalRouter(IPAddress originalRouter) voidsetRouteAS(int routeAS) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.EIGRPInternalImpl
getBandwidth, getDelay, getHopCount, getLoad, getMtu, getNetwork, getNextHop, getPrefixLength, getReliability, setBandwidth, setDelay, setHopCount, setLoad, setMtu, setNetwork, setNextHop, setPrefixLength, setReliabilityMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.EIGRPTlvImpl
getLength, getType, setLength, setTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.EIGRPInternal
getBandwidth, getDelay, getHopCount, getLoad, getMtu, getNetwork, getNextHop, getPrefixLength, getReliability, setBandwidth, setDelay, setHopCount, setLoad, setMtu, setNetwork, setNextHop, setPrefixLength, setReliabilityMethods inherited from interface com.cisco.pt.ipc.sim.pdu.EIGRPTlv
getLength, getType, setLength, setTypeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
originalRouter
-
routeAS
protected int routeAS -
adminTag
protected int adminTag -
externalMetric
protected int externalMetric -
externalProtocolType
-
-
Constructor Details
-
EIGRPExternalImpl
public EIGRPExternalImpl()
-
-
Method Details
-
getOriginalRouter
- Specified by:
getOriginalRouterin interfaceEIGRPExternal- Returns:
- IPAddress Returns a IPAddress
-
setOriginalRouter
- Specified by:
setOriginalRouterin interfaceEIGRPExternal- Parameters:
originalRouter- Takes in a parameter of originalRouter
-
getRouteAS
public int getRouteAS()- Specified by:
getRouteASin interfaceEIGRPExternal- Returns:
- int Returns a int
-
setRouteAS
public void setRouteAS(int routeAS) - Specified by:
setRouteASin interfaceEIGRPExternal- Parameters:
routeAS- Takes in a parameter of routeAS
-
getAdminTag
public int getAdminTag()- Specified by:
getAdminTagin interfaceEIGRPExternal- Returns:
- int Returns a int
-
setAdminTag
public void setAdminTag(int adminTag) - Specified by:
setAdminTagin interfaceEIGRPExternal- Parameters:
adminTag- Takes in a parameter of adminTag
-
getExternalMetric
public int getExternalMetric()- Specified by:
getExternalMetricin interfaceEIGRPExternal- Returns:
- int Returns a int
-
setExternalMetric
public void setExternalMetric(int externalMetric) - Specified by:
setExternalMetricin interfaceEIGRPExternal- Parameters:
externalMetric- Takes in a parameter of externalMetric
-
getExternalProtocolType
- Specified by:
getExternalProtocolTypein interfaceEIGRPExternal- Returns:
- Byte Returns a Byte
-
setExternalProtocolType
- Specified by:
setExternalProtocolTypein interfaceEIGRPExternal- Parameters:
externalProtocolType- Takes in a parameter of externalProtocolType
-
getFieldType
- Overrides:
getFieldTypein classEIGRPInternalImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classEIGRPInternalImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classEIGRPInternalImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classEIGRPInternalImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classEIGRPInternalImpl
-